-- GENERATED SPELL FOR [Gundrak Fire-eater] --


function spell0_29237(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(54682,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29237', 2500, 1)
end

function Sorts_29237(pUnit, Event)
local choix_sorts_29237 = math.random(0, 0)
if choix_sorts_29237 == 0 then
pUnit:RegisterEvent('spell0_29237', 1, 1)
end
end

function mob29237_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29237', math.random(1500, 3000), 1)
end

function mob29237_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29237_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29237_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29237, 1, 'mob29237_Action')
RegisterUnitEvent(29237, 2, 'mob29237_Leave')
RegisterUnitEvent(29237, 3, 'mob29237_Kill')
RegisterUnitEvent(29237, 4, 'mob29237_Die')
